package schema

const (
	RESULT_SUCCESS  string = "success"
	RESULT_FAIL            = "fail"
	RESULT_CANCEL          = "cancel"
	RESULT_ERROR           = "error"
	RESULT_NOTFOUND        = "not_found"
)

const (
	PAY_TYPE_ALIPAY_APP   = "alipay_app"
	PAY_TYPE_WECHAT_APP   = "wechat_app"
	PAY_TYPE_UNIONPAY_B2B = "unionpay_b2b"
	PAY_TYPE_OFFLINE      = "offline"
)

const (
	ORDER_STATUS_NEW = iota + 1
	ORDER_STATUS_CHECK
	ORDER_STATUS_CALLBACK
	ORDER_STATUS_CANCEL
	ORDER_STATUS_SUCCESS
	ORDER_STATUS_ERROR
	ORDER_STATUS_FAIL
	ORDER_STATUS_REFUND
)

const (
	CHECK_STATUS_NONE = iota + 1
	CHECK_STATUS_SUCCESS
	CHECK_STATUS_FAIL
	CHECK_STATUS_ERROR
)

const (
	CALLBACK_STATUS_NONE = iota + 1
	CALLBACK_STATUS_SUCCESS
	CALLBACK_STATUS_FAIL
	CALLBACK_STATUS_ERROR
)
